Fundamentals Of Intelligent Reflecting Surfaces